﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Re_passwd.aspx.cs" Inherits="Re_passwd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
    body
    {
        background-image:url(imag/0012.jpg);
        background-size: cover
        }
       #login
       {
           position:absolute;
           left:60%;
           top:20%;
           width:420px;
           height:400px;
           }
        .style1
        {
            width: 100%;
        }
        .style2
        {
            text-align: right;
        }
        .style3
        {
            text-align: left;
        }
        .style4
        {
            text-align: right;
            height: 27px;
        }
        .style5
        {
            text-align: left;
            height: 27px;
        }
        .style6
        {
            color: #FF0000;
        }
        .style7
        {
            text-align: right;
            height: 23px;
        }
        .style8
        {
            text-align: left;
            height: 23px;
        }
        .style10
        {
            color: #FEFFFF;
        }
        .style11
        {
            color: #FFFFFF;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="login">
        
        <table class="style1">
            <tr>
                <td colspan="2" class="style11" height="40px" width="200px">
                    密码找回：</td>
            </tr>
            <tr>
                <td class="style2" height="40px" width="200px">
                    <span class="style10" style="color:Black">手机号<span class="style6">*</span>：</span></td>
                <td class="style3" height="40px" width="200px">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                        ControlToValidate="TextBox1" ErrorMessage="手机号格式不正确！" style="color: #FF0000" 
                        ValidationExpression="[0-9]{11}"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="style2" height="40px" width="200px">
                    <span class="style10" style="color:Black">问题1<span class="style6">*</span>：</span></td>
                <td class="style3" height="40px" width="200px">
                    <asp:DropDownList ID="DropDownList1" runat="server" Height="17px" Width="185px" 
                        DataSourceID="LinqDataSource1" DataTextField="Problem" DataValueField="Problem">
                    </asp:DropDownList>
                    <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
                        ContextTypeName="DataClassesDataContext" EntityTypeName="" 
                        Select="new (Problem)" TableName="tb_Problem">
                    </asp:LinqDataSource>
                </td>
            </tr>
            <tr>
                <td class="style4" height="40px" width="200px">
                    <span class="style10" style="color:Black">答案<span class="style6">*</span>：</span></td>
                <td class="style5" height="40px" width="200px">
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style7" height="40px" width="200px">
                    <span class="style10" style="color:Black">问题2<span class="style6">*</span>：</span></td>
                <td class="style8" height="40px" width="200px">
                    <asp:DropDownList ID="DropDownList2" runat="server" Height="16px" Width="189px" 
                        DataSourceID="LinqDataSource1" DataTextField="Problem" DataValueField="Problem">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="style2" height="40px" width="200px">
                    <span class="style10" style="color:Black">答案<span class="style6">*</span>：</span></td>
                <td class="style3" height="40px" width="200px">
                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style2" height="40px" width="200px">
                    <asp:Button ID="Button1" runat="server" Text="找回" onclick="Button1_Click" 
                        style="font-family: 仿宋; color: #FFFFFF; background-color: #CC6600" />
                </td>
                <td class="style3" height="40px" width="200px">
                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/login.aspx">返回登陆</asp:HyperLink>
                </td>
            </tr>
        </table>
        
    </div>
    </form>
</body>
</html>